<template>
  <div class="coupon">
    <el-breadcrumb separator="/">
      <el-breadcrumb-item>营销活动管理</el-breadcrumb-item>
      <el-breadcrumb-item>优惠券设置</el-breadcrumb-item>
    </el-breadcrumb>
    <div class="easy-content">
      <div class="coupon-top">
        <el-tabs v-model="activeName">
          <el-tab-pane label="免费优惠券设置"
            name="first"><CouponType1/></el-tab-pane>
          <el-tab-pane label="购买优惠券设置"
            name="second"><CouponType2/></el-tab-pane>
        </el-tabs>

      </div>
    </div>
  </div>
</template>
<script>
import CouponType1 from './CouponType_1'
import CouponType2 from './CouponType_2'
export default {
  components:{
    CouponType1,
    CouponType2
  },
  data() {
    return {
      activeName: "first"
    };
  },
  created() {},
  mounted() {},
  methods: {}
};
</script>
<style lang="scss">
.coupon {
  .el-dialog {
    width: 600px;
    .el-form-item__content {
      width: 315px;
      height: 34px;
    }
    .el-input-number {
      width: 315px;
      .el-input__inner {
        // width: 315px;
        height: 34px;
      }
    }
    .el-radio-group {
      font-size: 12px;
      .el-form-item__content {
        margin-left: 0 !important;
        width: 110px;
      }
    }
    .el-form-item__label {
      padding-right: 30px;
    }
    .el-radio {
      line-height: 34px;
    }
    .quan_w {
      .el-form-item__content {
        width: 350px;
      }
    }
    .times {
      .el-form-item {
        width: 300px;
      }
      .el-radio {
        float: left;
      }
      .el-form-item__content {
        float: left;
        .el-date-editor {
          width: 232px !important;
        }
      }
    }
    .doorsillMoney {
      .el-form-item__error {
        margin-left: 46px;
      }
    }
    .see_coupon {
      .el-form-item {
        margin-bottom: 0px;
      }
      .el-form-item__content {
        height: auto;
      }
      .el-form-item__label {
        font-weight: 700;
      }
    }
  }
}
</style>
